﻿/**
作者：
 */
package com.zito.bean;

import javax.validation.groups.Default;


import com.downlove.validation.notnull.NotNull;
import com.downlove.validation.strlength.CheckLength;
import com.zito.pojo.ColumnzPOJO;

public class Columnz extends ColumnzPOJO {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1822917615197407171L;
	private Long id;
	private int type;
	private int function;
	private Long parentid;
	private String parentlist;
	@NotNull(message = "请填写栏目名称", groups = { Default.class })
	@CheckLength(message = "栏目名称字符长度不能小于4个字符，不能大于50个字符，一个中文为2个字符", min = 4, max = 100, groups = { Default.class })
	private String columnname;
	private int orders;
	private int deep;
	private int child;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	public Long getParentid() {
		return parentid;
	}

	public void setParentlist(String parentlist) {
		this.parentlist = parentlist;
	}

	public String getParentlist() {
		return parentlist;
	}

	public void setColumnname(String columnname) {
		this.columnname = columnname;
	}

	public String getColumnname() {
		return columnname;
	}

	public void setOrders(int orders) {
		this.orders = orders;
	}

	public int getOrders() {
		return orders;
	}

	public int getDeep() {
		return deep;
	}

	public void setDeep(int deep) {
		this.deep = deep;
	}

	public int getChild() {
		return child;
	}

	public void setChild(int child) {
		this.child = child;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getFunction() {
		return function;
	}

	public void setFunction(int function) {
		this.function = function;
	}

}
